package panda.client.enumerations;


public enum CardRarity {
	SPECIAL ("Special", 'S', 5),
	LAND ("Basic Land", 'L', 0),
	COMMON ("Common", 'C', 1),
	UNCOMMON ("Uncommon", 'U', 2),
	RARE ("Rare", 'R', 3),
	MYTHIC ("Mythic Rare", 'M', 4);
	
	private String rarity;
	private char abbrev;
	private int level;
	
	private CardRarity(String rarity, char abbrev, int level/* to rank rarities for comparison */) {
		this.rarity = rarity;
		this.abbrev = abbrev;
		this.level = level;
	}

	public String getRarity() {
		return rarity;
	}
	
	public char getRarityChar() {
		return abbrev;
	}
	
	public String toString() {
		return rarity;
	}
	
	public int getLevel() {
		return level;
	}
}